hipreme_engine v1.0.14 (2023-12-23T18:43:10Z)
Dub
Repo
IHipFileSystemInteraction
hip
api
filesystem
hipfs
Undocumented in source.
interface
IHipFileSystemInteraction {
const
(
wchar
*)
cachedWStringz
(wstring path);
const
(
char
*)
cachedStringz
(string path);
bool
read
(string path, void delegate(ubyte[] data) onSuccess, void delegate(string err = "Corrupted File") onError);
bool
write
(string path, void[] data);
bool
exists
(string path);
bool
remove
(string path);
bool
isDir
(string path);
bool
isFile
(string path);
}
Members
Functions
cachedStringz
const
(
char
*)
cachedStringz
(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
cachedWStringz
const
(
wchar
*)
cachedWStringz
(wstring path)
Undocumented in source. Be warned that the author may not have intended to support it.
exists
bool
exists
(string path)
Undocumented in source.
isDir
bool
isDir
(string path)
Undocumented in source.
isFile
bool
isFile
(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
read
bool
read
(string path, void delegate(ubyte[] data) onSuccess, void delegate(string err = "Corrupted File") onError)
onSuccess: Maybe be executed before the function returns (on sync platforms).
remove
bool
remove
(string path)
Undocumented in source.
write
bool
write
(string path, void[] data)
Undocumented in source.
Meta
Source
See Implementation
hip
api
filesystem
hipfs
enums
FileMode
SEEK_SET
interfaces
IHipDirectoryItf
IHipFSPromise
IHipFileItf
IHipFileSystemInteraction